package com.ybl.store.backend.service.deal;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ybl.store.backend.dao.entity.deal.LogDealProductNumberDO;
import com.ybl.store.backend.dto.req.deal.LogDealProductNumberSaveReqDTO;
import com.ybl.store.backend.dto.req.deal.LogDealProductNumberUpdateReqDTO;
import com.ybl.store.backend.dto.resp.deal.LogDealProductNumberExportRespDTO;
import com.ybl.store.backend.dto.resp.deal.LogDealProductNumberPageRespDTO;
import com.ybl.store.common.entity.ListRespDTO;

import java.util.List;

public interface LogDealProductNumberService extends IService<LogDealProductNumberDO> {

    void saveLogDealProductNumber(LogDealProductNumberSaveReqDTO requestParam);

    void deleteLogDealProductNumber(Long id);

    void updateLogDealProductNumber(LogDealProductNumberUpdateReqDTO requestParam);

    ListRespDTO<LogDealProductNumberPageRespDTO> pageLogDealProductNumber(Integer pn, Integer ps, Long dealProductNumberId, Long storeId, Long clerkId, Long customerId, Long productId, String startTime, String endTime);

    List<LogDealProductNumberExportRespDTO> export();
}
